package com.learn.eduadboot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.learn.eduadboot.entity.PromotionAd;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 广告表 Mapper 接口
 * </p>
 *
 * @author m
 * @since 2022-04-22
 */
@Repository
public interface PromotionAdMapper extends BaseMapper<PromotionAd> {
    List<PromotionAd> getAdsBySpaceId(@Param("space_id") Integer sid);
}
